#include "Control.h"
    Control control;
void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);

    control.init();
}
char a;
void loop() {
  // put your main code here, to run repeatedly:
  if (Serial.available()) {
   a = Serial.parseInt();
    Serial.println(a);
     control.setMsgData(a);
         control.procLevel();
    control.procMsgData();
    delay(100);
  }



   
}
